package zhu.areas.match.data;

import java.sql.Blob;
import java.util.Date;

import zhu.areas.user.data.User;

/**
 * @hibernate.class  table="T_AttendList"   dynamic-insert="true"  dynamic-update="true"  lazy="false"
 * @author Administrator
 *
 */
public class AttendList implements java.io.Serializable{

	private int id;  //ID
	private CompApp compApp; // 大赛ID 
	private User attender; //参赛者ID
	private String contact;
	private String idCard;
	private String score;
	private String prize;
	private String constitution;
	private String applierName;
	private Date applyTime;

	private byte[] image;
	
	private int statue; //参赛者ID通过状态
	private String level; //参赛者名次
	
	
	public AttendList(){
		
	}
	public AttendList(int id){
		this.id=id;
	}
	/**
	 * @hibernate.id column="ID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @hibernate.many-to-one class="zhu.areas.match.data.CompApp"
	 *                        not-null="true" column="CompID"
	 */
	public CompApp getCompApp() {
		return compApp;
	}

	public void setCompApp(CompApp compApp) {
		this.compApp = compApp;
	}
	
	/**
	 * @hibernate.many-to-one class="zhu.areas.user.data.User"
	 *                        not-null="true" column="UserID"
	 */
	public User getAttender() {
		return attender;
	}
	public void setAttender(User attender) {
		this.attender = attender;
	}
	
	/**
	 * @hibernate.property column = "Statue"
	 * @return
	 */
	public int getStatue() {
		return statue;
	}
	public void setStatue(int statue) {
		this.statue = statue;
	}
	/**
	 * @hibernate.property column = "Level"
	 * @return
	 */
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	/**
	 * @hibernate.property column = "Contact"
	 * @return
	 */
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	/**
	 * @hibernate.property column = "IDCard"
	 * @return
	 */
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	/**
	 * @hibernate.property column = "Score"
	 * @return
	 */
	public String getScore() {
		return score;
	}
	public void setScore(String score) {
		this.score = score;
	}
	/**
	 * @hibernate.property column = "Prize"
	 * @return
	 */
	public String getPrize() {
		return prize;
	}
	public void setPrize(String prize) {
		this.prize = prize;
	}
	/**
	 * @hibernate.property column = "ApplyTime"
	 * @return
	 */
	public Date getApplyTime() {
		return applyTime;
	}
	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}
	/**
	 * @hibernate.property column = "Constitution"
	 * @return
	 */
	public String getConstitution() {
		return constitution;
	}
	public void setConstitution(String constitution) {
		this.constitution = constitution;
	}
	/**
	 * @hibernate.property column = "ApplierName"
	 * @return
	 */
	public String getApplierName() {
		return applierName;
	}
	public void setApplierName(String applierName) {
		this.applierName = applierName;
	}
	/**
	 * @hibernate.property column = "Image"
	 * @return
	 */
	public byte[] getImage() {
		return image;
	}
	public void setImage(byte[] image) {
		this.image = image;
	}
	
}
